package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SH_StoreHouse")
public class ShStorehouse extends Model<ShStorehouse> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("StoreHouseCode")
    private String StoreHouseCode;

    @TableField("StoreHouseName")
    private String StoreHouseName;

    @TableField("DepartmentID")
    private String DepartmentID;

    @TableField("ManagerUserID")
    private Long ManagerUserID;

    @TableField("CreateUserID")
    private Long CreateUserID;

    @TableField("CreateDate")
    private LocalDateTime CreateDate;

    @TableField("UpdateUserID")
    private Long UpdateUserID;

    @TableField("UpdateDate")
    private LocalDateTime UpdateDate;

    @TableField("Remark")
    private String Remark;

    @TableField("ProjectID")
    private Long ProjectID;

    @TableField("ServiceDepartmentID")
    private String ServiceDepartmentID;

    @TableField("SHManageUserID")
    private String SHManageUserID;

    @TableField("StoreHouseAddress")
    private String StoreHouseAddress;

    @TableField("FinanceCompany")
    private String FinanceCompany;

    @TableField("ConsigneeID")
    private String ConsigneeID;

    @TableField("ConsigneeName")
    private String ConsigneeName;

    @TableField("LinkPhone")
    private String LinkPhone;

    @TableField("CompanyAddress")
    private String CompanyAddress;

    @TableField("IdentificationNumber")
    private String IdentificationNumber;

    @TableField("OpeningBank")
    private String OpeningBank;

    @TableField("OpeningBankAccount")
    private String OpeningBankAccount;

    @TableField("CompanyLinkPhone")
    private String CompanyLinkPhone;

    @TableField("TaxpayerType")
    private String TaxpayerType;

    @TableField("ProvinceCode")
    private String ProvinceCode;

    @TableField("CityCode")
    private String CityCode;

    @TableField("AreaCode")
    private String AreaCode;

    @TableField("CostCenter")
    private String CostCenter;

    @TableField("CostCode")
    private String CostCode;

    @TableField("CostName")
    private String CostName;

    @TableField("OutStoreAttributeCode")
    private String OutStoreAttributeCode;

    @TableField("OutStoreAttributeName")
    private String OutStoreAttributeName;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
